package host;

public abstract class Host {
	private String port;

	public Host(String port) {
		this.port = port;
	}

	public String getPort() {
		return this.port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String toString() {
		return String.format("host %s port=%s", getContent(), getPort());
	}
	
	public abstract String getContent();
	public abstract void setContent(String content);
}